//
//  NSArray+Test.m
//  Category1
//
//  Created by cora1n on 14-8-12.
//  Copyright (c) 2014年 devwu. All rights reserved.
//

#import "NSArray+Test.h"

@implementation NSArray (Test)
-(NSArray *)initWithIntValue:(int)i
{
    NSNumber * num = [NSNumber numberWithInt:i];
    NSArray *arr = [NSArray arrayWithObject:num];
    return arr;
}
-(int)intValueAtIndex:(int)index
{
    NSNumber * num = [self objectAtIndex:index];
    return [num intValue];
}
@end
